<?php
/**
 * Created by PhpStorm.
 * User: wufubin
 * Date: 2016/12/25
 * Time: 14:22
 */

namespace Common\Model;


class TypeModel extends BaseModel {
    protected $pk = 'tid';
    protected $tableName = 'type';
    protected $_validate = [
        ['tname','require','类型名称不能为空！'],
    ];
}